home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2002-03-20 | 2.4 KB | [□□□□/□□□□] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Ultima 6 (music/ultima6)
| ext
| Supported |
10%
| dexvert
| Jesper Olsen Module (music/jesperOlsen)
| magic
| Supported |
1%
| dexvert
| PC-98 Music (music/pc98Music)
| ext
| Unsupported |
1%
| dexvert
| Amiga E Module (other/amigaEModule)
| ext
| Unsupported |
1%
| dexvert
| ECX module (other/ecxModule)
| ext
| Unsupported |
1%
| dexvert
| Maple Common Binary (other/mapleCommonBinary)
| ext
| Unsupported |
1%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Wed Mar 20 13:55:17 2002, modified Wed Mar 20 13:55:17 2002, 1874 bytes "main.m" , at 0x7d2 286 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
66%
| TrID
| TTComp archive compressed (bin-4K)
| default (weak)
| |
33%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| dearkID
| deark: macbinary
| default
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [□□□□] |
macFileCreator | [□□□□] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 6d 61 69 6e 2e 6d | 00 00 00 00 00 00 00 00 |..main.m|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 07 52 00 | 00 01 1e b8 be 8b 95 b8 |......R.|........|
|00000060| be 8b 95 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 8c a2 00 00 |........|........|
|00000080| 2f 2a 0a 2a 2a 20 20 6d | 61 69 6e 2e 6d 0a 2a 2a |/*.** m|ain.m.**|
|00000090| 0a 2a 2a 20 20 54 68 69 | 73 20 69 73 20 61 20 73 |.** Thi|s is a s|
|000000a0| 6d 61 6c 6c 20 61 6e 64 | 20 73 69 6d 70 6c 65 20 |mall and| simple |
|000000b0| 28 62 75 74 20 75 73 65 | 66 75 6c 29 20 74 65 73 |(but use|ful) tes|
|000000c0| 74 20 66 72 61 6d 65 77 | 6f 72 6b 2e 0a 2a 2a 0a |t framew|ork..**.|
|000000d0| 2a 2a 20 20 43 6f 70 79 | 72 69 67 68 74 20 28 63 |** Copy|right (c|
|000000e0| 29 20 32 30 30 31 2c 20 | 32 30 30 32 0a 2a 2a 0a |) 2001, |2002.**.|
|000000f0| 2a 2a 20 20 41 75 74 68 | 6f 72 3a 20 20 41 6c 65 |** Auth|or: Ale|
|00000100| 78 61 6e 64 65 72 20 4d | 61 6c 6d 62 65 72 67 20 |xander M|almberg |
|00000110| 3c 61 6c 65 78 61 6e 64 | 65 72 40 6d 61 6c 6d 62 |<alexand|er@malmb|
|00000120| 65 72 67 2e 6f 72 67 3e | 0a 2a 2a 0a 2a 2a 20 20 |erg.org>|.**.** |
|00000130| 54 68 69 73 20 6c 69 62 | 72 61 72 79 20 69 73 20 |This lib|rary is |
|00000140| 66 72 65 65 20 73 6f 66 | 74 77 61 72 65 3b 20 79 |free sof|tware; y|
|00000150| 6f 75 20 63 61 6e 20 72 | 65 64 69 73 74 72 69 62 |ou can r|edistrib|
|00000160| 75 74 65 20 69 74 20 61 | 6e 64 2f 6f 72 0a 2a 2a |ute it a|nd/or.**|
|00000170| 20 20 6d 6f 64 69 66 79 | 20 69 74 20 75 6e 64 65 | modify| it unde|
|00000180| 72 20 74 68 65 20 74 65 | 72 6d 73 20 6f 66 20 74 |r the te|rms of t|
|00000190| 68 65 20 47 4e 55 20 4c | 65 73 73 65 72 20 47 65 |he GNU L|esser Ge|
|000001a0| 6e 65 72 61 6c 20 50 75 | 62 6c 69 63 0a 2a 2a 20 |neral Pu|blic.** |
|000001b0| 20 4c 69 63 65 6e 73 65 | 20 61 73 20 70 75 62 6c | License| as publ|
|000001c0| 69 73 68 65 64 20 62 79 | 20 74 68 65 20 46 72 65 |ished by| the Fre|
|000001d0| 65 20 53 6f 66 74 77 61 | 72 65 20 46 6f 75 6e 64 |e Softwa|re Found|
|000001e0| 61 74 69 6f 6e 3b 20 65 | 69 74 68 65 72 0a 2a 2a |ation; e|ither.**|
|000001f0| 20 20 76 65 72 73 69 6f | 6e 20 32 2e 31 20 6f 66 | versio|n 2.1 of|
|00000200| 20 74 68 65 20 4c 69 63 | 65 6e 73 65 2c 20 6f 72 | the Lic|ense, or|
|00000210| 20 28 61 74 20 79 6f 75 | 72 20 6f 70 74 69 6f 6e | (at you|r option|
|00000220| 29 20 61 6e 79 20 6c 61 | 74 65 72 20 76 65 72 73 |) any la|ter vers|
|00000230| 69 6f 6e 2e 0a 2a 2a 20 | 20 0a 2a 2a 20 20 54 68 |ion..** | .** Th|
|00000240| 69 73 20 6c 69 62 72 61 | 72 79 20 69 73 20 64 69 |is libra|ry is di|
|00000250| 73 74 72 69 62 75 74 65 | 64 20 69 6e 20 74 68 65 |stribute|d in the|
|00000260| 20 68 6f 70 65 20 74 68 | 61 74 20 69 74 20 77 69 | hope th|at it wi|
|00000270| 6c 6c 20 62 65 20 75 73 | 65 66 75 6c 2c 0a 2a 2a |ll be us|eful,.**|
|00000280| 20 20 62 75 74 20 57 49 | 54 48 4f 55 54 20 41 4e | but WI|THOUT AN|
|00000290| 59 20 57 41 52 52 41 4e | 54 59 3b 20 77 69 74 68 |Y WARRAN|TY; with|
|000002a0| 6f 75 74 20 65 76 65 6e | 20 74 68 65 20 69 6d 70 |out even| the imp|
|000002b0| 6c 69 65 64 20 77 61 72 | 72 61 6e 74 79 20 6f 66 |lied war|ranty of|
|000002c0| 0a 2a 2a 20 20 4d 45 52 | 43 48 41 4e 54 41 42 49 |.** MER|CHANTABI|
|000002d0| 4c 49 54 59 20 6f 72 20 | 46 49 54 4e 45 53 53 20 |LITY or |FITNESS |
|000002e0| 46 4f 52 20 41 20 50 41 | 52 54 49 43 55 4c 41 52 |FOR A PA|RTICULAR|
|000002f0| 20 50 55 52 50 4f 53 45 | 2e 20 53 65 65 20 74 68 | PURPOSE|. See th|
|00000300| 65 20 47 4e 55 0a 2a 2a | 20 20 4c 65 73 73 65 72 |e GNU.**| Lesser|
|00000310| 20 47 65 6e 65 72 61 6c | 20 50 75 62 6c 69 63 20 | General| Public |
|00000320| 4c 69 63 65 6e 73 65 20 | 66 6f 72 20 6d 6f 72 65 |License |for more|
|00000330| 20 64 65 74 61 69 6c 73 | 2e 0a 2a 2a 20 20 0a 2a | details|..** .*|
|00000340| 2a 20 20 59 6f 75 20 73 | 68 6f 75 6c 64 20 68 61 |* You s|hould ha|
|00000350| 76 65 20 72 65 63 65 69 | 76 65 64 20 61 20 63 6f |ve recei|ved a co|
|00000360| 70 79 20 6f 66 20 74 68 | 65 20 47 4e 55 20 4c 65 |py of th|e GNU Le|
|00000370| 73 73 65 72 20 47 65 6e | 65 72 61 6c 20 50 75 62 |sser Gen|eral Pub|
|00000380| 6c 69 63 0a 2a 2a 20 20 | 4c 69 63 65 6e 73 65 20 |lic.** |License |
|00000390| 61 6c 6f 6e 67 20 77 69 | 74 68 20 74 68 69 73 20 |along wi|th this |
|000003a0| 6c 69 62 72 61 72 79 3b | 20 69 66 20 6e 6f 74 2c |library;| if not,|
|000003b0| 20 77 72 69 74 65 20 74 | 6f 20 74 68 65 20 46 72 | write t|o the Fr|
|000003c0| 65 65 20 53 6f 66 74 77 | 61 72 65 0a 2a 2a 20 20 |ee Softw|are.** |
|000003d0| 46 6f 75 6e 64 61 74 69 | 6f 6e 2c 20 49 6e 63 2e |Foundati|on, Inc.|
|000003e0| 2c 20 35 39 20 54 65 6d | 70 6c 65 20 50 6c 61 63 |, 59 Tem|ple Plac|
|000003f0| 65 2c 20 53 75 69 74 65 | 20 33 33 30 2c 20 42 6f |e, Suite| 330, Bo|
|00000400| 73 74 6f 6e 2c 20 4d 41 | 20 30 32 31 31 31 2d 31 |ston, MA| 02111-1|
|00000410| 33 30 37 20 55 53 41 0a | 2a 2f 0a 0a 23 69 6e 63 |307 USA.|*/..#inc|
|00000420| 6c 75 64 65 20 3c 46 6f | 75 6e 64 61 74 69 6f 6e |lude <Fo|undation|
|00000430| 2f 4e 53 4f 62 6a 65 63 | 74 2e 68 3e 0a 23 69 6e |/NSObjec|t.h>.#in|
|00000440| 63 6c 75 64 65 20 3c 46 | 6f 75 6e 64 61 74 69 6f |clude <F|oundatio|
|00000450| 6e 2f 4e 53 41 75 74 6f | 72 65 6c 65 61 73 65 50 |n/NSAuto|releaseP|
|00000460| 6f 6f 6c 2e 68 3e 0a 23 | 69 6e 63 6c 75 64 65 20 |ool.h>.#|include |
|00000470| 3c 46 6f 75 6e 64 61 74 | 69 6f 6e 2f 4e 53 41 72 |<Foundat|ion/NSAr|
|00000480| 72 61 79 2e 68 3e 0a 0a | 23 69 6e 63 6c 75 64 65 |ray.h>..|#include|
|00000490| 20 22 54 65 73 74 43 61 | 73 65 2e 68 22 0a 0a 69 | "TestCa|se.h"..i|
|000004a0| 6e 74 20 6d 61 69 6e 28 | 69 6e 74 20 61 72 67 63 |nt main(|int argc|
|000004b0| 2c 20 63 68 61 72 20 2a | 2a 61 72 67 76 29 0a 7b |, char *|*argv).{|
|000004c0| 0a 09 43 52 45 41 54 45 | 5f 41 55 54 4f 52 45 4c |..CREATE|_AUTOREL|
|000004d0| 45 41 53 45 5f 50 4f 4f | 4c 28 61 72 70 29 3b 0a |EASE_POO|L(arp);.|
|000004e0| 09 43 6c 61 73 73 20 63 | 6c 3b 0a 09 76 6f 69 64 |.Class c|l;..void|
|000004f0| 20 2a 73 74 61 74 65 3b | 0a 09 73 74 72 75 63 74 | *state;|..struct|
|00000500| 20 6f 62 6a 63 5f 6d 65 | 74 68 6f 64 5f 6c 69 73 | objc_me|thod_lis|
|00000510| 74 20 2a 6d 3b 0a 09 69 | 6e 74 20 69 2c 6a 3b 0a |t *m;..i|nt i,j;.|
|00000520| 09 63 6f 6e 73 74 20 63 | 68 61 72 20 2a 6e 3b 0a |.const c|har *n;.|
|00000530| 09 4e 53 4d 75 74 61 62 | 6c 65 41 72 72 61 79 20 |.NSMutab|leArray |
|00000540| 2a 63 6c 61 73 73 65 73 | 3d 5b 5b 4e 53 4d 75 74 |*classes|=[[NSMut|
|00000550| 61 62 6c 65 41 72 72 61 | 79 20 61 6c 6c 6f 63 5d |ableArra|y alloc]|
|00000560| 20 69 6e 69 74 5d 3b 0a | 0a 09 63 68 61 72 20 2a | init];.|..char *|
|00000570| 74 65 73 74 3b 0a 0a 09 | 69 66 20 28 61 72 67 63 |test;...|if (argc|
|00000580| 3e 31 29 0a 09 09 74 65 | 73 74 3d 61 72 67 76 5b |>1)...te|st=argv[|
|00000590| 31 5d 3b 0a 09 65 6c 73 | 65 0a 09 09 74 65 73 74 |1];..els|e...test|
|000005a0| 3d 4e 55 4c 4c 3b 0a 0a | 09 73 74 61 74 65 3d 4e |=NULL;..|.state=N|
|000005b0| 55 4c 4c 3b 0a 09 77 68 | 69 6c 65 20 28 28 63 6c |ULL;..wh|ile ((cl|
|000005c0| 3d 6f 62 6a 63 5f 6e 65 | 78 74 5f 63 6c 61 73 73 |=objc_ne|xt_class|
|000005d0| 28 26 73 74 61 74 65 29 | 29 29 0a 09 7b 0a 09 09 |(&state)|))..{...|
|000005e0| 69 66 20 28 73 74 72 6e | 63 6d 70 28 63 6c 2d 3e |if (strn|cmp(cl->|
|000005f0| 6e 61 6d 65 2c 22 74 65 | 73 74 22 2c 34 29 29 20 |name,"te|st",4)) |
|00000600| 63 6f 6e 74 69 6e 75 65 | 3b 0a 09 09 5b 63 6c 61 |continue|;...[cla|
|00000610| 73 73 65 73 20 61 64 64 | 4f 62 6a 65 63 74 3a 20 |sses add|Object: |
|00000620| 63 6c 5d 3b 0a 09 7d 0a | 0a 09 66 6f 72 20 28 6a |cl];..}.|..for (j|
|00000630| 3d 30 3b 6a 3c 5b 63 6c | 61 73 73 65 73 20 63 6f |=0;j<[cl|asses co|
|00000640| 75 6e 74 5d 3b 6a 2b 2b | 29 0a 09 7b 0a 09 09 63 |unt];j++|)..{...c|
|00000650| 6c 3d 5b 63 6c 61 73 73 | 65 73 20 6f 62 6a 65 63 |l=[class|es objec|
|00000660| 74 41 74 49 6e 64 65 78 | 3a 20 6a 5d 3b 0a 0a 09 |tAtIndex|: j];...|
|00000670| 09 66 6f 72 20 28 6d 3d | 63 6c 2d 3e 6d 65 74 68 |.for (m=|cl->meth|
|00000680| 6f 64 73 3b 6d 3b 6d 3d | 6d 2d 3e 6d 65 74 68 6f |ods;m;m=|m->metho|
|00000690| 64 5f 6e 65 78 74 29 0a | 09 09 7b 0a 09 09 09 66 |d_next).|..{....f|
|000006a0| 6f 72 20 28 69 3d 30 3b | 69 3c 6d 2d 3e 6d 65 74 |or (i=0;|i<m->met|
|000006b0| 68 6f 64 5f 63 6f 75 6e | 74 3b 69 2b 2b 29 0a 09 |hod_coun|t;i++)..|
|000006c0| 09 09 7b 0a 09 09 09 09 | 6e 3d 73 65 6c 5f 67 65 |..{.....|n=sel_ge|
|000006d0| 74 5f 6e 61 6d 65 28 6d | 2d 3e 6d 65 74 68 6f 64 |t_name(m|->method|
|000006e0| 5f 6c 69 73 74 5b 69 5d | 2e 6d 65 74 68 6f 64 5f |_list[i]|.method_|
|000006f0| 6e 61 6d 65 29 3b 0a 09 | 09 09 09 69 66 20 28 73 |name);..|...if (s|
|00000700| 74 72 6e 63 6d 70 28 6e | 2c 22 74 65 73 74 22 2c |trncmp(n|,"test",|
|00000710| 34 29 29 20 63 6f 6e 74 | 69 6e 75 65 3b 0a 0a 09 |4)) cont|inue;...|
|00000720| 09 09 09 69 66 20 28 74 | 65 73 74 29 0a 09 09 09 |...if (t|est)....|
|00000730| 09 09 69 66 20 28 73 74 | 72 63 6d 70 28 74 65 73 |..if (st|rcmp(tes|
|00000740| 74 2c 6e 29 29 0a 09 09 | 09 09 09 09 63 6f 6e 74 |t,n))...|....cont|
|00000750| 69 6e 75 65 3b 0a 0a 09 | 09 09 09 70 72 69 6e 74 |inue;...|...print|
|00000760| 66 28 22 72 75 6e 6e 69 | 6e 67 20 74 65 73 74 20 |f("runni|ng test |
|00000770| 27 25 73 27 3a 5c 6e 22 | 2c 6e 29 3b 0a 09 09 09 |'%s':\n"|,n);....|
|00000780| 09 5b 63 6c 20 72 75 6e | 54 65 73 74 57 69 74 68 |.[cl run|TestWith|
|00000790| 4e 61 6d 65 3a 20 6e 5d | 3b 0a 09 09 09 7d 0a 09 |Name: n]|;....}..|
|000007a0| 09 7d 0a 09 09 73 74 61 | 74 65 3d 4e 55 4c 4c 3b |.}...sta|te=NULL;|
|000007b0| 0a 09 7d 0a 0a 09 44 45 | 53 54 52 4f 59 28 61 72 |..}...DE|STROY(ar|
|000007c0| 70 29 3b 0a 09 72 65 74 | 75 72 6e 20 30 3b 0a 7d |p);..ret|urn 0;.}|
|000007d0| 0a 0a 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000810| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |This res|ource fo|
|00000820| 72 6b 20 69 6e 74 65 6e | 74 69 6f 6e 61 6c 6c 79 |rk inten|tionally|
|00000830| 20 6c 65 66 74 20 62 6c | 61 6e 6b 20 20 20 00 00 | left bl|ank ..|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000900| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000910| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+